let initialState ={
    BroadCast:[],
    SongList:[]
}

const BroadCastSong = (state=[],action)=>{
    let {type,payload} = action;
    switch(type){
        case "Get_detailSongSheet":
        return [...payload];
        default:
        return state
    }
     
}

export default (state=initialState,action)=>{
    return{
        BroadCastSong:BroadCastSong(state.BroadCastSong,action),
        SongList:state.SongList
    }
}